body {
	background-color:#fff;
	color: #fff;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
	font-size:90%;
	margin: 0;
}

#content{
	color: #333;
	margin-left:10px;
	margin-right:10px;
	padding: 10px 30px 40px 30px;
	overflow: auto;
}

h1, h2, h3, h4 {
	font-weight: normal;
	margin-bottom:0.5em;
}
/*Lstudio heading- to be image?*/
h1 {     
        margin-left: 40px;
  	background:#fff;
	color: #444;
        Font-weight:bold;
	font-family:'sans-serif',mongolian baiti;
	font-size: 22pt;
        margin-top:0;
        margin-bottom:0;
            
}
/*Page headings*/
h2 {
	background:#fff;
	color: #45bbc2;
	font-family:'sans-serif',mongolian baiti;
	font-size: 18pt;
        font-weight:bold;
        text-shadow:1px 1px #ebebeb;
       
}
/*user heading*/
h3 {
        text-align:left;
	color: #45bbc2;
	font-family:'sans-serif',mongolian baiti;
	font-size: 18pt;
}
/*add edit page headings*/
h4 {
	background:#ebebeb;
	color: #D10000;
	font-family:'sans-serif',mongolian baiti;
	font-size: 18pt;
        font-weight:bold;
        text-shadow:1px 1px #ebebeb;
}
h5{
    background:#fff;
	color: #308287;
	font-family:'sans-serif',mongolian baiti;
	font-size: 18pt;
        font-weight:bold;
        text-shadow:1px 1px #ebebeb;
}


/*navigation box links*/
li
{
    display: inline;  
}
li a
{
float: left;
display: block;
font: bold 12px Arial;
color: #474747;
text-decoration: none;
margin: 0 1px 0 0; /*Margin between each menu item*/
padding: 5px 10px 9px 10px; /*Padding within each menu item*/
background-color: #dedfdf;
    /*rounded box corners*/
-moz-border-radius-topright: 5px;
border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
border-top-left-radius: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
border-bottom-right-radius: 5px;
}
 li a:hover
{
    background-color: #45bbc2; 
padding-top: 9px; 
padding-bottom: 5px; 
color: white;
}
/*actions links*/
.actions ul li a:active,
.actions a {color:#45bbc2;}

/** Tables **/
table {
	border-right:0;
	clear: both;
	color: #333;
	margin-bottom: 10px;
	width: 100%;
        background-colour:#fff;
        
         /**border-bottom:2px solid #555;
       box-shadow: 0 0 0 10px rgba(150, 150, 150, 0.1), 0 1px 3px rgba(25, 25, 25, 0.3), 0 10px 15px rgba(200, 200, 200, 0.1) inset;
**/

}
 .inlineTable{
display:inline-block;
margin-right:20px;

}

th {
    background-color:#c1c1c1;
	border:0;
	border-bottom:2px solid #555;
	text-align: left;
	padding:4px;
        
}
/*change table heading txt colour*/
th a {
    color: #000;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a.asc:after {
	content: ' ⇣';
}
th a.desc:after {
	content: ' ⇡';
}
table tr td {
	padding: 6px;
	text-align: left;
	vertical-align: top;
	border-bottom:1px solid #ddd;
}
/*even table lines shaded*/
table tr:nth-child(even) {
	background: #f7f8f8;
}

td.actions {
	text-align: left;
	white-space: nowrap;
}
table td.actions a {
	margin: 0px 6px;
	padding:2px 5px;
        
}
table td.heading{
    background-color: #fff;
    font-weight: bold;
     border-bottom:2px solid #fff;
     border-top:2px solid #fff;
      border-left:2px solid #fff;
    border-right:5px solid #fff;
    /*width: 50%;*/
    border-bottom:1px solid #ddd;
  
    
}
table td.data{
    background-color:#fff;
    font-color:#ee73b8;
     border-bottom:2px solid #fff;
     border-top:2px solid #fff;
     /*width: 50%;*/
     border-bottom:1px solid #ddd;
   
}

/**  View tables  **/
#view table {
	width: auto;
	border-collapse:collapse;
        
	/*border:1px solid black;*/
}

#view td{
	/*border:1px solid black;*/
	vertical-align:middle;
        
        
       
}

/**  Staff Edit  **/

/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 40%;
        background:#ebebeb;
        box-shadow: 0 0 0 10px rgba(150, 150, 150, 0.1), 0 1px 3px rgba(25, 25, 25, 0.3), 0 10px 15px rgba(200, 200, 200, 0.1) inset;
}
fieldset {
    
	border:none;
        
	/*margin-bottom: 1em;
	padding: 16px 10px;*/
}
fieldset legend {
	color: #D10000;
	font-size: 160%;
	font-weight: bold;
        background:#ebebeb;
}
fieldset fieldset {
	margin-top: 0;
	padding: 2px 0 0;
        
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	/*margin-bottom: 1em;*/
	padding: 2px;
	vertical-align: text-top;
}
form .input {
	color: #444;
}
/*form .required {
	font-weight: bold;
}*/
/*form .required label:after {
	color: #D10000;
	content: '*';
	display:inline;
}*/
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	display: block;
	font-size: 110%;
	margin-bottom:3px;
}
input, textarea {
	clear: both;
	font-size: 100%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 1%;
	width:50%;
	margin:2px;
        
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
div.checkbox label {
	display: inline;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 6px 0;
	padding: 0;
	line-height: 26px;
}
.radio label {
	margin: 0 0 6px 20px;
	line-height: 26px;
}
input[type=submit] {
	display: inline;
	font-size: 11pt;
	width: auto;
}
form .submit input[type=submit] {
	background:#45bbc2;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	border-color: #45bbc2;
	color: #00000;
	text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0px;
	padding: 2px 3px;
        -moz-border-radius-topright: 5px;
border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
border-top-left-radius: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
border-bottom-right-radius: 5px;
}
form .submit input[type=submit]:hover {
	background: #D10000;
}
/* Form errors */
form .error {
	background: #FFDACC;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	font-weight: normal;
        width:auto;
}
form .error-message {
	-moz-border-radius: none;
	-webkit-border-radius: none;
	border-radius: none;
	border: none;
	background: none;
	margin: 0;
	padding-left: 4px;
	padding-right: 0;
}
form .error,
form .error-message {
	color: #9E2424;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
}

.required{
	color: #D10000;
	display:inline;
}

.message {
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 5px;
}

.success,
.message,
.cake-error,
.cake-debug,
.notice,
p.error,
.error-message {
	background: #ffcc00;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -ms-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800));
	background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800);
	background-image: -o-linear-gradient(top, #ffcc00, #E6B800);
	background-image: linear-gradient(top, #ffcc00, #E6B800);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 18px;
	padding: 7px 14px;
	color: #404040;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.success,
.message,
.cake-error,
p.error,
/*right margin shortens message box*/
.error-message {
	clear: both;
	color: #fff;
	background: #c43c35;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
	background-image: linear-gradient(top, #ee5f5b, #c43c35);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
        margin-right:400px; 
}
.success {
	clear: both;
	color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.5);
	background: #3B8230;
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
	background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
	background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
	background-image: linear-gradient(top, #76BF6B, #3B8230);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
p.error {
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 120%;
	padding: 0.8em;
	
}
p.error em {
	font-weight: bold;
	line-height: 140%;
}
.notice {
	color: #000;
	display: block;
	font-size: 120%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	color: #fff;
}
/*popups*/
#overlay_form{
position: absolute;
border: 5px solid gray;
padding: 10px;
background: white;
width: 270px;
height: 190px;
}
#pop{
display: block;
border: 1px solid gray;
width: 65px;
text-align: center;
padding: 6px;
border-radius: 5px;
text-decoration: none;
margin: 0 auto;
}
/*tabs*/
.ui-tabs {
	position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
	padding: .2em;
}
.ui-tabs .ui-tabs-nav {
	margin: 0;
	padding: .2em .2em 0;
}
.ui-tabs .ui-tabs-nav li {
	list-style: none;
	float: left;
	position: relative;
	top: 0;
	margin: 1px .2em 0 0;
	border-bottom-width: 0;
	padding: 0;
	white-space: nowrap;
}
.ui-tabs .ui-tabs-nav li a {
	float: left;
	padding: .5em 1em;
	text-decoration: none;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
	margin-bottom: -1px;
	padding-bottom: 1px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
.ui-tabs .ui-tabs-nav li.ui-state-disabled a,
.ui-tabs .ui-tabs-nav li.ui-tabs-loading a {
	cursor: text;
}
.ui-tabs .ui-tabs-nav li a, /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
	cursor: pointer;
}
.ui-tabs .ui-tabs-panel {
	display: block;
	border-width: 0;
	padding: 1em 1.4em;
	background: none;
}
